package com.eudon.genius.api.core.dto;

import lombok.Data;

/**
 * 用户自定义的配置信息
 *
 * @author eudon
 * @since 2025/9/25
 */
@Data
public class PropertiesDto {
    private String basePackage;
    private String appName;
    private String appVersion;
    private String appDescription;
    private String sourcePath;


    private String developer;
    private String organization;


    public PropertiesDto(Dto dto) {
        this.basePackage = dto.getBasePackage();
        this.appName = dto.getAppName();
        this.appVersion = dto.getAppVersion();
        this.appDescription = dto.getAppDescription();
        this.developer = dto.getDeveloper();
        this.organization = dto.getOrganization();
    }


    @Data
    public static class Dto {
        private String basePackage;
        private String appName;
        private String appVersion;
        private String appDescription;


        private String developer;
        private String organization;
    }
}
